package com.youxin.cpcenter.dao;

import org.apache.ibatis.annotations.Mapper;

import com.youxin.cpcenter.model.TbCompanyInfo;
import com.youxin.cpcenter.model.TbCompanyInfoWithBLOBs;

@Mapper
public interface TbCompanyInfoMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(TbCompanyInfoWithBLOBs record);

    int insertBaseInfo(TbCompanyInfo record);

    int insertSelective(TbCompanyInfoWithBLOBs record);

    TbCompanyInfoWithBLOBs selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(TbCompanyInfoWithBLOBs record);

    int updateByPrimaryKeyWithBLOBs(TbCompanyInfoWithBLOBs record);

    int updateByPrimaryKey(TbCompanyInfo record);

    int isExist(String companyUid);

    TbCompanyInfo selectByUid(String companyUid);
}